package com.bw.service;

import com.bw.mapper.TmsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class TmsServiceImp implements TmsService {
    @Autowired(required = false)
    TmsMapper tmsMapper;
    @Override
    public List<Map> sumTotal(String nowDate) {
        return tmsMapper.sumTotal(nowDate);
    }

    @Override
    public List<Map> countTotal(String nowDate) {
        return tmsMapper.countTotal(nowDate);
    }

    @Override
    public List<Map> longTime(String nowDate) {
        return tmsMapper.longTime(nowDate);
    }

    @Override
    public List<Map> organTotal(String nowDate) {
        return tmsMapper.organTotal(nowDate);
    }
}
